<html>
<head>
<style>
@page {
  size: 300px 200px;
  margin: 0;
}
body {
  margin: 10px;
}
</style>
</head>
<body style="word-wrap:break-word">
<div style="width:100%;float:left;margin:1px;background-color:blue;height:2px;"><span></span></div>
<p>a</p>
</body>
</html>
